Gnus: Improve subthread sorting;
authorTassilo Horn <tsdh@gnu.org>
Tue, 30 Jul 2013 08:16:20 +0000 (08:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 30 Jul 2013 08:16:20 +0000 (08:16 +0000)
commitdd041bcd9f2355a4bffba2f401706d9c9295fe94
treedeced50aa542dd3c592cec9f1f16f8c5fbab79ea
parentada0fc39f625dc8e3e1babfddb6fdd13c0560eac
Gnus: Improve subthread sorting;
 make subthread sorting customizable and add docs for it

* doc/misc/gnus.texi (Sorting the Summary Buffer): Document new defcustom
`gnus-subthread-sort-functions' and remove the obsolete documentation
of `gnus-sort-threads-recursively'.

* lisp/gnus/gnus-sum.el (gnus-subthread-sort-functions): New defcustom.
(gnus-sort-threads-recursively): Delete defcustom.
(gnus-sort-threads-recursive): Adapt accordingly.

* lisp/gnus/gnus-sum.el (gnus-sort-subthreads-recursive): New function.
(gnus-sort-threads-recursive): Use it.
(gnus-sort-threads): Unconditionally call `gnus-sort-threads-recursive'
again.  Now that determines how to sort subthreads.
doc/misc/ChangeLog
doc/misc/gnus.texi
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el